import jwxx.json.*;


public class CsonControllerTestMain {
	public static void main(String[] args) {
		
		/*
		PlayerListNearByReq JsonObject = new PlayerListNearByReq();
		JsonObject.setSelfId(113);
		JsonObject.setLatitude(22.2);
		JsonObject.setLongitude(114.01);
		*/
		
		//BattleReq JsonObject = new BattleReq();
		//PlayerListNearByReq JsonObject = new PlayerListNearByReq();
		//BattleReq JsonObject = new BattleReq();
		//LoginReq JsonObject = new LoginReq();
		//JsonObject.setName("123");
		
		RegisterReq JsonObject = new RegisterReq();
		JsonObject.setName("113");
		GsonController gc = new GsonController(JsonObject.toString());
		//GsonController gc = new GsonController("{\"id\":113,\"jsonType\":\"jwxx.json.PlayerInfoReq\"}");
		
		System.out.println(gc);
		System.out.println(gc.returnJson());
	}
}
